import http from '@/service/http'
import type * as T from '@/types/api/index'
const systemApi: T.ISettingApi = {
  list() {
    return http.post('/admin/System/list')
  },
  add(data) {
    return http.post('/admin/System/add', data)
  },
  edit(data) {
    return http.post('/admin/System/edit', data)
  }
}

export default systemApi
